package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.bean.request.PageReq;import com.lanchetech.entity.Job;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

@Mapper
public interface JobMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Job record);

    int insertSelective(Job record);

    Job selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Job record);

    int updateByPrimaryKey(Job record);

    List<Job> findAllPage(PageReq req);

    int updateDeletedById(@Param("deleted")Byte deleted,@Param("id")Long id);

    List<Job> findAllByIds(@Param("ids") List<Long> ids);
}